<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<div id="header">
		<a class="logo"><img src="<%=path %>/ycimages/banner.jpg" alt="logo 鹿鸣矿业" /></a>
		<div class="topLink">
			<a href="javascript:addFavorite('http://www.woyouqian.com.cn/mpp','鹿鸣矿业');">[收藏网页]</a>
			<a id="setHomepage" href="http://www.woyouqian.com.cn/mpp2" onclick="try{this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.woyouqian.com.cn/mpp');return(false);}catch(e){}">[ 加为主页 ]</a>
		</div>
	</div>
	<div class="banner">
	<div id="headpicplayer" style="height: 246px;overflow: hidden;" >
		<script type="text/javascript">
 			<!-- 
 			var focus_width=1034;
 			var focus_height=276;
 			var text_height=0;
 			var swf_height = focus_height+text_height;
 			var pics = "";
 			var links = "";
 			var texts = "";
 			
 			
 			pics += "<%=path%>/ycimages/05.jpg";
 			links += "javascript:void(0)";
 			
 			pics += "|";
 			links += "|";
 			texts += "|";
 			
 			pics += "<%=path%>/ycimages/04.jpg";
 			links += "javascript:void(0)";
 			
 			pics += "|";
 			links += "|";
 			texts += "|";
 			
 			pics += "<%=path%>/ycimages/06.jpg";
 			links += "javascript:void(0)";
 			
 			pics += "|";
 			links += "|";
 			texts += "|";
 			
 			
 			pics += "<%=path%>/ycimages/03.jpg";
 			links += "javascript:void(0)";
 			
 			
 			pics += "|";
 			links += "|";
 			texts += "|";
 			
 			pics += "<%=path%>/ycimages/01.jpg";
 			links += "javascript:void(0)";
 			
 			pics += "|";
 			links += "|";
 			texts += "|";
 			
 			pics += "<%=path%>/ycimages/02.jpg";
 			links += "javascript:void(0)";
 			
 			
 			
 			
 			document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
 			document.write('<param name="allowScriptAccess" value="sameDomain">')
 			document.write('<param name="movie" value="<%=path%>/focus.swf">')
 			document.write('<param name="quality" value="high"><param name="bgcolor" value="#FFFFFF">');
 			document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
 			document.write('<param name="useHandCursor" value="false">');
 			document.write('<param name="FlashVars" value="pics='+pics+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
 			document.write('<embed src="<%=path%>/focus.swf" wmode="opaque" FlashVars="pics='+pics+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" ?bgcolor="#ffffff" quality="high" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
 			document.write('</object>');
 			//-->
</script>
	</div>
	
	</div>
	
<script type="text/javascript">
function validate_search(){
    var serchText = $('#serchText').val();
    if (validate_null(serchText,"搜索内容不能为空!")==false){
        serchText.focus();
        return ;
    }else{
         window.location.href="<%=path %>/yc/search!search2.do?serchText="+serchText;
    } 
}
function validate_null(field,alerttxt){
      if (field==null||field==""){
          alert(alerttxt);
          return false;
       }else {
          return true;
      }
}
function addFavorite(sURL, sTitle){
	if(sURL == undefined || sURL == null){
		sURL = window.location.href;
	}
	if(sTitle == undefined || sTitle == null){
		sTitle = window.document.title;
	}
	try{
		window.external.addFavorite(sURL, sTitle);
	}
	catch (e){
		try{
			window.sidebar.addPanel(sTitle, sURL, "");
		}
		catch (e){
			alert("加入收藏失败，请使用Ctrl+D进行添加");
		}
	}
} 
</script>


